import request from '@/utils/request'

// 查询列表展示
export function findProjectList(query) {
  return request({
    url: '/com.mmk.reservation.api.AdminBeautyProjectProvider/1.0.0/findProjectList.html',
    method: 'post',
    data: query
  })
}
//上下架及状态
export function updateStatus(query) {
    return request({
      url: '/com.mmk.reservation.api.AdminBeautyProjectProvider/1.0.0/updateStatus.html',
      method: 'post',
      data: query
    })
  }
//删除
export function delProject(query) {
    return request({
      url: '/com.mmk.reservation.api.AdminBeautyProjectProvider/1.0.0/delProject.html',
      method: 'post',
      data: query
    })
  }
//医生列表
export function doctorList(query) {
    return request({
      url: '/com.mmk.reservation.api.AdminDoctorProvider/1.0.0/doctorList.html',
      method: 'post',
      data: query
    })
  }
//新增
export function insertProject(query) {
    return request({
      url: '/com.mmk.reservation.api.AdminBeautyProjectProvider/1.0.0/insertProject.html',
      method: 'post',
      data: query
    })
  }
//详情
export function findProjectByProjectId(query) {
    return request({
      url: '/com.mmk.reservation.api.AdminBeautyProjectProvider/1.0.0/findProjectByProjectId.html',
      method: 'post',
      data: query
    })
  }
//修改
export function updateProject(query) {
    return request({
      url: '/com.mmk.reservation.api.AdminBeautyProjectProvider/1.0.0/updateProject.html',
      method: 'post',
      data: query
    })
}
